﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DDD4Fun.Mediator
{
    public  class Class3
    {
        public Class3()
        {
            MessageMediator.Instance.Register<string>(this, (e) =>
            {
                Console.WriteLine(string.Format("class3 receive:{0}", e));
            },"class3");
        }
    }
}
